package com.t309.tzy.utils;
import org.apache.commons.codec.digest.DigestUtils;

public class SecurityUtil {


    public String md5Encode(byte [] input){
        return DigestUtils.md5Hex(input);
    }

    public String sha256Encode(byte[] input){
        return DigestUtils.sha256Hex(input);
    }

}
